package com.fc.campusapplicationsystem.service;

import com.fc.campusapplicationsystem.model.Serviceman;

import java.util.List;

/**
 * @author 贺哲
 * @2020-02-29 15:17
 */
public interface ServicemanService {

    public Serviceman servicemanLogin(String username, String password);

    public List<Serviceman> list();

    Integer add(Serviceman serviceman);

    Integer delete(Integer id);

    Serviceman get(int serviceId);

    /**
     * 修改维修员
     */
    Integer update(Serviceman serviceman);

    boolean checkUsername(Serviceman serviceman);
}
